home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Full / Paragon Drive Backup 9 / DB90_SE_x32.msi / Data1.cab / _C6E503686B2E4907AA8DEC6387D7DE25 < prev    next >
Extensible Markup Language  |  2008-06-28  |  2KB  |  65 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <xsl:stylesheet 
  4.   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  5.   xmlns:msxsl="urn:schemas-microsoft-com:xslt"
  6.   version="1.0">
  7.  
  8. <xsl:output 
  9.   method="html" 
  10.   version="4.0" 
  11.   encoding="UTF-8" 
  12.   omit-xml-declaration="yes" 
  13.   indent="yes"/>
  14.  
  15. <xsl:include href="./resource/html/propcell.xsl"/>
  16.  
  17. <xsl:template match="/Root">
  18.  
  19. <html>
  20.   <!-- Object properties -->
  21.   <table>
  22.     <tr>
  23.       <!-- Object header -->
  24.       <td colspan="2">
  25.         <h2><xsl:value-of select="PropertyBag/Property[@name='PROPID_DISPLAYNAME']"/></h2>
  26.       </td>
  27.     </tr>
  28.     <tr>
  29.     <tr>
  30.       <td colspan="2">
  31.         <hr/>
  32.       </td>
  33.     </tr>
  34.     <tr>
  35.       <!-- properties list -->
  36.       <td width="100%">
  37.         <table cellspacing="0" cellpadding="0">
  38.           <xsl:call-template name="PropCell">
  39.             <xsl:with-param name="PropName" select="string('PROPID_HDM_TYPESTRING')"/>
  40.           </xsl:call-template>
  41.  
  42.           <xsl:call-template name="PropCell">
  43.             <xsl:with-param name="PropName" select="string('PROPID_HDM_SIZESTRING')"/>
  44.           </xsl:call-template>
  45.  
  46.           <xsl:call-template name="PropCell">
  47.             <xsl:with-param name="PropName" select="string('PROPID_HDM_SECTORSPERTRACK')"/>
  48.           </xsl:call-template>
  49.  
  50.           <xsl:call-template name="PropCell">
  51.             <xsl:with-param name="PropName" select="string('PROPID_HDM_HEADS')"/>
  52.           </xsl:call-template>
  53.  
  54.           <xsl:call-template name="PropCell">
  55.             <xsl:with-param name="PropName" select="string('PROPID_HDM_CYLINDERS')"/>
  56.           </xsl:call-template>
  57.         </table>
  58.       </td>
  59.     </tr>
  60.   </table>
  61.   
  62. </xsl:template>
  63.  
  64. </xsl:stylesheet>
  65.